[INFO] cloning repository https://github.com/hpatjens/instrument
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hpatjens/instrument" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b490438eb682cc12fa9241124bdca0acb5c3573
[INFO] building hpatjens/instrument against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hpatjens/instrument on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hpatjens/instrument
[INFO] finished tweaking git repo https://github.com/hpatjens/instrument
[INFO] tweaked toml for git repo https://github.com/hpatjens/instrument written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/hpatjens/instrument already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce79284e548c2eb2c193d2153004363a7c662ff0cefce4d5927bcf6c7ad93bb9
[INFO] running `Command { std: "docker" "start" "-a" "ce79284e548c2eb2c193d2153004363a7c662ff0cefce4d5927bcf6c7ad93bb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce79284e548c2eb2c193d2153004363a7c662ff0cefce4d5927bcf6c7ad93bb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce79284e548c2eb2c193d2153004363a7c662ff0cefce4d5927bcf6c7ad93bb9", kill_on_drop: false }`
[INFO] [stdout] ce79284e548c2eb2c193d2153004363a7c662ff0cefce4d5927bcf6c7ad93bb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c57bb16fc7987a8cbdc22d7cc8361267c255e215a98b15aed1056abe5d77223
[INFO] running `Command { std: "docker" "start" "-a" "8c57bb16fc7987a8cbdc22d7cc8361267c255e215a98b15aed1056abe5d77223", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling standback v0.2.9
[INFO] [stderr]    Compiling time v0.2.16
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling thread-id v3.3.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling serial_test_derive v0.4.0
[INFO] [stderr]    Compiling serial_test v0.4.0
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling instrument v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime`
[INFO] [stdout]   --> src/platform.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |         (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use time::OffsetDateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime`
[INFO] [stdout]   --> src/platform.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 |         (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use time::OffsetDateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/platform.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/recording.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     start: RecordingTimestamp::now(),
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RecordingTimestamp`, found `i64`
[INFO] [stdout]    |
[INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed)
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     start: platform::RecordingTimestamp(RecordingTimestamp::now()),
[INFO] [stdout]    |                            +++++++++++++++++++++++++++++                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/recording.rs:109:70
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 raw_thread_profile.region_backends[index].end = Some(time);
[INFO] [stdout]     |                                                                 ---- ^^^^ expected struct `RecordingTimestamp`, found `i64`
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed)
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 raw_thread_profile.region_backends[index].end = Some(platform::RecordingTimestamp(time));
[INFO] [stdout]     |                                                                      +++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `instrument` due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8c57bb16fc7987a8cbdc22d7cc8361267c255e215a98b15aed1056abe5d77223", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c57bb16fc7987a8cbdc22d7cc8361267c255e215a98b15aed1056abe5d77223", kill_on_drop: false }`
[INFO] [stdout] 8c57bb16fc7987a8cbdc22d7cc8361267c255e215a98b15aed1056abe5d77223
